<pre class="docs-method-signature"><code>link.getBBox()</code></pre>
<p>Return the bounding box of the link model, represented as a <code>g.Rect</code>.</p>

<p>This method creates the bounding box from the link polyline (see the <code>link.getPolyline</code> <a href="#dia.Link.prototype.getPolyline">function</a>). This simplified heuristic may cause portions of curved links to protrude out of the reported bounding box. See the documentation of the <code>linkView.getBBox</code> <a href="#dia.LinkView.prototype.getBBox">function</a> for details about the differences.</p>
